import { RoleBasic } from '@/api/role/types'

export interface UserDetailData {
  id: number
  name: string
  username: string
  status: boolean
  email: string
  phone: string | null
  remark: string | null
  roles: RoleBasic[]
  createdAt: string
  updatedAt: string
  departmentId: number | null
  departmentName: string | null
}

export interface UserBasicData {
  name: string
  phone: string
  email: string
}

export interface ResetPassword {
  old_password: string
  new_password: string
}
